package com.push.common.param;

public class AuthorSchema {
    private int offset;
    private int size;
    private String query;
    private String term;
    private String domain;
    private String[] filters;
    private String[] fields;
    private String order;

    public AuthorSchema(String query) {
        this.query = "\""+query+"\"";
        this.offset = 0;
        this.size = 20;
        this.term = "";
        this.domain = "";
        this.filters = new String[]{};
        this.fields = new String[]{"id","name","name_zh","org","org_zh","aff","aff_zh","affs","affs_zh","h_index","n_citation","n_pubs","avatar","interests","contact"};
        this.order = "n_citation";

    }

    public int getOffset() {
        return offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public String getTerm() {
        return term;
    }

    public void setTerm(String term) {
        this.term = term;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public String[] getFilters() {
        return filters;
    }

    public void setFilters(String[] filters) {
        this.filters = filters;
    }

    public String[] getFields() {
        return fields;
    }

    public void setFields(String[] fields) {
        this.fields = fields;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }
}
